

<!--COLUMN 1-->
<div class="ThreeColGrid_c1">
        <?php 
            if($a_Stores['Store']['Avatar'])
            {
                echo '<img src="'. Router::url('/').'app/webroot/img/avatar/'.$a_Stores['Store']['Avatar'].'" width="100" height="100" alt="Locum">';
            }else
            {
                echo '<img src="'.Router::url('/').'app/webroot/img/avatar.jpg" width="100" height="100" alt="Locum">';
            }
          ?>

<a href="pharmacy-add-edit-store.html" class="btnBlue">Add/Edit Store</a>
<a href="#" class="btnBlue">Add Vacancy</a>
</div>
<!--COLUMN 1-->

<!--COLUMN 2-->
<div class="ThreeColGrid_c2" id="lopro">
<h1>Add a vacancy</h1>
<?php $session->flash(); ?>    
<?php echo $form->create('Vacancy',array('action' => 'edit'));?>  
<?php echo $form->input('id',array('label'=>'','div'=>'','type'=>'hidden')); ?>
<table border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td width="130" height="20" valign="top"><b>Select Store</b></td>
        <td>
        
            <select name="data[Vacancy][Store_id]">
                <?php 
                 if($a_ListStores){
                    foreach($a_ListStores as $a_Store)
                    {    
                         if($this->data['Vacancy']['Store_id'] == $a_Store['Store']['Id'])
                         {
                            
                            echo  ' <option value="'.$a_Store['Store']['Id'].'" selected ="selected">'.$a_Store['Store']['Username'].'</option>'   ;}
                         else
                            echo  ' <option value="'.$a_Store['Store']['Id'].'">'.$a_Store['Store']['Username'].'</option>'   ;
                    }
                }?>
            </select>
        </td>
    </tr>
    <tr>
        <td width="130" height="20" valign="top"><b>Date range</b></td>
        <td>
            <div>
                             <div class="container">
                <div class="row">
                    <div class="g4">
                        <div id="eventCalendarNoCache"></div>
                        <script>
                            $(document).ready(function() {
                                $("#eventCalendarNoCache").eventCalendar({
                                    eventsjson: '<?php echo Router::url('/').'vacancies/getJson/'.$id ?>',
                                    cacheJson: false,
                                    multiple: false,
                                    fromTo:true
                                });
                            });
                        </script>
                    </div>
                </div>
            </div>
            </div>
        </td>
    </tr>
    
    <tr>
        <td width="130" height="20" valign="top"><b>Hourly rate &pound;</b></td>
        <td><?php echo $form->input('Title',array('label'=>'','div'=>'')); ?></td>      
    </tr>
    <tr>
        <td width="130" height="20" valign="top"><b>Hourly rate &pound;</b></td>
        <td><?php echo $form->select('HourlyRate',$GLOBALS['HourlyRate'],null,array('label'=>'','div'=>''),false); ?></td>      
    </tr>
    <tr>
        <td width="130" height="20" valign="top"><b>Milage allowance after miles</b></td>
        <td><?php echo $form->select('MilageAllowanceAfterMiles',$GLOBALS['MilageAllowanceAfterMiles'],null,array('label'=>'','div'=>''),false); ?></td>
    </tr>
    <tr>
        <td width="130" height="20" valign="top"><b>Milage rate in pence</b></td>
        <td><?php echo $form->input('MilageRateInPence',array('label'=>'','div'=>'')); ?></td>
    </tr>
    <tr>
        <td width="130" height="20" valign="top"><b>Other expenses</b></td>
        <td><?php echo $form->input('OtherExpenses',array('label'=>false,'type'=>'textarea')); ?></td>
    </tr>
     <tr>
        <td><?php echo $form->submit();?></td>
        <td>&nbsp;<?php echo $form->input('event',array('label'=>'','id'=>'event','type'=>'text')); ?></td>
     </tr>
</table>

</div>
<!--COLUMN 2-->

<!--COLUMN 3-->
<div class="ThreeColGrid_c3">
<h1>Locum Search</h1>

<h3>Search by county</h3>
<form>
<select name="Counties">
<optgroup label="England">
            <option>Bedfordshire</option>
            <option>Berkshire</option>
            <option>Bristol</option>
            <option>Buckinghamshire</option>
            <option>Cambridgeshire</option>
            <option>Cheshire</option>
            <option>City of London</option>
            <option>Cornwall</option>
            <option>Cumbria</option>
            <option>Derbyshire</option>
            <option>Devon</option>
            <option>Dorset</option>
            <option>Durham</option>
            <option>East Riding</option>
            <option>East Sussex</option>
            <option>Essex</option>
            <option>Gloucestershire</option>
            <option>Greater London</option>
            <option>Greater Manchester</option>
            <option>Hampshire</option>
            <option>Herefordshire</option>
            <option>Hertfordshire</option>
            <option>Isle of Wight</option>
            <option>Kent</option>
            <option>Lancashire</option>
            <option>Leicestershire</option>
            <option>Lincolnshire</option>
            <option>Merseyside</option>
            <option>Norfolk</option>
            <option>North Yorkshire</option>
            <option>Northamptonshire</option>
            <option>Northumberland</option>
            <option>Nottinghamshire</option>
            <option>Oxfordshire</option>
            <option>Rutland</option>
            <option>Shropshire</option>
            <option>Somerset</option>
            <option>South Yorkshire</option>
            <option>Staffordshire</option>
            <option>Suffolk</option>
            <option>Surrey</option>
            <option>Tyne and Wear</option>
            <option>Warwickshire</option>
            <option>West Midlands</option>
            <option>West Sussex</option>
            <option>West Yorkshire</option>
            <option>Wiltshire</option>
            <option>Worcestershire</option>
</optgroup>
<optgroup label="Scotland">
            <option>Aberdeenshire</option>
            <option>Angus</option>
            <option>Argyllshire</option>
            <option>Ayrshire</option>
            <option>Banffshire</option>
            <option>Berwickshire</option>
            <option>Buteshire</option>
            <option>Cromartyshire</option>
            <option>Caithness</option>
            <option>Clackmannanshire</option>
            <option>Dumfriesshire</option>
            <option>Dunbartonshire</option>
            <option>East Lothian</option>
            <option>Fife</option>
            <option>Inverness-shire</option>
            <option>Kincardineshire</option>
            <option>Kinross</option>
            <option>Kirkcudbrightshire</option>
            <option>Lanarkshire</option>
            <option>Midlothian</option>
            <option>Morayshire</option>
            <option>Nairnshire</option>
            <option>Orkney</option>
            <option>Peeblesshire</option>
            <option>Perthshire</option>
            <option>Renfrewshire</option>
            <option>Ross-shire</option>
            <option>Roxburghshire</option>
            <option>Selkirkshire</option>
            <option>Shetland</option>
            <option>Stirlingshire</option>
            <option>Sutherland</option>
            <option>West Lothian</option>
            <option>Wigtownshire</option>
</optgroup>
<optgroup label="Wales">
            <option>Anglesey</option>
            <option>Brecknockshire</option>
            <option>Caernarfonshire</option>
            <option>Carmarthenshire</option>
            <option>Cardiganshire</option>
            <option>Denbighshire</option>
            <option>Flintshire</option>
            <option>Glamorgan</option>
            <option>Merioneth</option>
            <option>Monmouthshire</option>
            <option>Montgomeryshire</option>
            <option>Pembrokeshire</option>
            <option>Radnorshire</option>
</optgroup>
<optgroup label="Northern Ireland">
            <option>Antrim</option>
            <option>Armagh</option>
            <option>Down</option>
            <option>Fermanagh</option>
            <option>Londonderry</option>
            <option>Tyrone</option>
</optgroup>
</select><br>
<input name="" type="button" value="go">
</form>
<br>

<h3>Search your area</h3>
<form>
<select name="radius">
<option>Within 10 miles</option>
<option>Within 20 miles</option>
<option>Within 30 miles</option>
<option>Within 40 miles</option>
<option>Within 50 miles</option>
<option>Within 60 miles</option>
<option>Within 70 miles</option>
<option>Within 80 miles</option>
<option>Within 90 miles</option>
<option>Within 100 miles</option>
</select><br>
<input name="" type="button" value="go">
</form>
<br>


</div>

<!--COLUMN 3-->